package com.steve.summary.saga.common.model;

import com.steve.summary.saga.common.status.PaymentStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: STEVE
 * @Description: 支付记录实体类
 * @since: 2025-05-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Payment {

    /**
     * 支付ID
     */
    private Long id;
    /**
     * 关联的订单ID
     */
    private Long orderId;
    /**
     * 支付金额
     */
    private BigDecimal amount;
    /**
     * 支付状态
     */
    private PaymentStatus status;

}
